package si.yun.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class SyCourse implements Serializable {
    @ApiModelProperty(value = "课程主键")
    private Integer courseId;
    private Integer Sort;
    private String CourseLabel;

    public String getCourseLabel() {
        return CourseLabel;
    }

    public void setCourseLabel(String courseLabel) {
        CourseLabel = courseLabel;
    }

    public Integer getSort() {
        return Sort;
    }

    public void setSort(Integer sort) {
        Sort = sort;
    }

    @ApiModelProperty(value = "后台用户id(主讲教师)")
    private Integer userId;

    @ApiModelProperty(value = "课程专业id")
    private Integer classId;

    @ApiModelProperty(value = "推荐（2，新品，3推荐，4其他）")
    private Integer recommend;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "课程原价")
    private double coursePrice;

    @ApiModelProperty(value = "课程现价")
    private double courseNprice;

    @ApiModelProperty(value = "上架状态(2上架，3未上架）")
    private Integer courseStatus;

    @ApiModelProperty(value = "审核状态(3未审核，4审核中，5审核失败，6其他）")
    private Integer courseCstatus;

    @ApiModelProperty(value = "课程搜索关键字")
    private String coursePrimary;

    @ApiModelProperty(value = "图片封面url地址")
    private String url;

    @ApiModelProperty(value = "课程url地址")
    private String courseUrl;

    @ApiModelProperty(value = "课程地址")
    private String courseInfo;

    @ApiModelProperty(value = "课程序号(1,2,3集）")
    private Integer courseNo;

    @ApiModelProperty(value = "视频时长(分钟)")
    private Integer courseTime;

    @ApiModelProperty(value = "点赞数量")
    private Integer likeNum;

    @ApiModelProperty(value = "分享数量")
    private Integer shareNum;

    @ApiModelProperty(value = "收藏数量")
    private Integer collectNum;

    @ApiModelProperty(value = "预览数量")
    private Integer lookNum;

    @ApiModelProperty(value = "销售数量")
    private Integer saleNum;

    @ApiModelProperty(value = "序号")
    private Integer id;

    @ApiModelProperty(value = "创建人")
    private Integer createId;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "更新人")
    private Integer updateId;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "课程简介")
    private String courseIntro;

    private String userName;//主讲老师

    private String className;//分类

    @ApiModelProperty(value = "类型（2前台审核后用户，3后台用户）")
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    private String account;//账



    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }


    private static final long serialVersionUID = 1L;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public double getCoursePrice() {
        return coursePrice;
    }

    public void setCoursePrice(double coursePrice) {
        this.coursePrice = coursePrice;
    }

    public double getCourseNprice() {
        return courseNprice;
    }

    public void setCourseNprice(double courseNprice) {
        this.courseNprice = courseNprice;
    }

    public Integer getCourseStatus() {
        return courseStatus;
    }

    public void setCourseStatus(Integer courseStatus) {
        this.courseStatus = courseStatus;
    }

    public Integer getCourseCstatus() {
        return courseCstatus;
    }

    public void setCourseCstatus(Integer courseCstatus) {
        this.courseCstatus = courseCstatus;
    }

    public String getCoursePrimary() {
        return coursePrimary;
    }

    public void setCoursePrimary(String coursePrimary) {
        this.coursePrimary = coursePrimary;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCourseUrl() {
        return courseUrl;
    }

    public void setCourseUrl(String courseUrl) {
        this.courseUrl = courseUrl;
    }

    public String getCourseInfo() {
        return courseInfo;
    }

    public void setCourseInfo(String courseInfo) {
        this.courseInfo = courseInfo;
    }

    public Integer getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(Integer courseNo) {
        this.courseNo = courseNo;
    }

    public Integer getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(Integer courseTime) {
        this.courseTime = courseTime;
    }

    public Integer getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Integer likeNum) {
        this.likeNum = likeNum;
    }

    public Integer getShareNum() {
        return shareNum;
    }

    public void setShareNum(Integer shareNum) {
        this.shareNum = shareNum;
    }

    public Integer getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(Integer collectNum) {
        this.collectNum = collectNum;
    }

    public Integer getLookNum() {
        return lookNum;
    }

    public void setLookNum(Integer lookNum) {
        this.lookNum = lookNum;
    }

    public Integer getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(Integer saleNum) {
        this.saleNum = saleNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCourseIntro() {
        return courseIntro;
    }

    public void setCourseIntro(String courseIntro) {
        this.courseIntro = courseIntro;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", courseId=").append(courseId);
        sb.append(", userId=").append(userId);
        sb.append(", classId=").append(classId);
        sb.append(", recommend=").append(recommend);
        sb.append(", courseName=").append(courseName);
        sb.append(", coursePrice=").append(coursePrice);
        sb.append(", courseNprice=").append(courseNprice);
        sb.append(", courseStatus=").append(courseStatus);
        sb.append(", courseCstatus=").append(courseCstatus);
        sb.append(", coursePrimary=").append(coursePrimary);
        sb.append(", url=").append(url);
        sb.append(", courseUrl=").append(courseUrl);
        sb.append(", courseInfo=").append(courseInfo);
        sb.append(", courseNo=").append(courseNo);
        sb.append(", courseTime=").append(courseTime);
        sb.append(", likeNum=").append(likeNum);
        sb.append(", shareNum=").append(shareNum);
        sb.append(", collectNum=").append(collectNum);
        sb.append(", lookNum=").append(lookNum);
        sb.append(", saleNum=").append(saleNum);
        sb.append(", id=").append(id);
        sb.append(", createId=").append(createId);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateId=").append(updateId);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", courseIntro=").append(courseIntro);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}